
(function($){
    $.fn.highlightOnce.defaults={
        color:'#fff47f',
        duration:'fast',
        setup:null,
        complete:null
    };
    $.fn.hightlightOnce=function(){
        return this.each(function(){
            $(this)
                .data('original-color',$(this).css('background-color'))
                .css('background-color',options.color)
                .one('mouseenter',function(){
                    $(this).animate({
                        'background-color':$(this).data('original-color')
                    },options.duration,
                    options.complete
                     );
                });
            if($.isFunction(options.setup)){
                options.setup.call(this);
            }
        });
    };
})(jQuery);